FROM alpine:edge
RUN apk update
RUN apk add --upgrade apk-tools
RUN apk add vim
RUN apk add curl
RUN apk add nginx
RUN apk add php7
RUN apk add php7-dom
RUN apk add php7-ctype
RUN apk add php7-curl
RUN apk add php7-fpm
RUN apk add php7-gd
RUN apk add php7-intl
RUN apk add php7-json
RUN apk add php7-mbstring
RUN apk add php7-mcrypt
RUN apk add php7-mysqlnd
RUN apk add php7-opcache
RUN apk add php7-pdo
RUN apk add php7-pdo_mysql
RUN apk add php7-posix
RUN apk add php7-session
RUN apk add php7-xml
RUN apk add php7-iconv
RUN apk add php7-phar
RUN apk add php7-openssl
RUN apk add php7-zip
RUN apk add php7-ssh2
RUN apk add php7-zlib
RUN apk add php7-redis
RUN apk add php7-memcached
RUN apk add php7-imap
RUN apk add php7-simplexml
RUN apk add php7-xmlreader
RUN apk add php7-xmlwriter
RUN apk add php7-fileinfo
RUN apk add php7-tokenizer
RUN apk add php7-bcmath
RUN apk add tzdata
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone
RUN apk del tzdata
RUN rm -rf /var/cache/apk/*